/**
 * 卡片管理模块路由配置
 * 包含卡片列表、制作、签收等功能页面
 */
export default [
  {
    path: '/card',
    name: 'CardManagement',
    component: () => import('@/views/card/cardManagement/index.vue'),
    meta: {
      title: '卡片管理',
      requireAuth: true
    }
  },
  {
    path: '/card/list',
    name: 'CardList',
    component: () => import('@/views/card/cardManagement/list.vue'),
    meta: {
      title: '卡片列表',
      requireAuth: true
    }
  },
  {
    path: '/card/make',
    name: 'CardMake',
    component: () => import('@/views/card/cardManagement/make.vue'),
    meta: {
      title: '卡片制作',
      requireAuth: true
    }
  },
  {
    path: '/card/receive',
    name: 'CardReceive',
    component: () => import('@/views/card/cardManagement/receive.vue'),
    meta: {
      title: '卡片签收',
      requireAuth: true
    }
  },
  {
    path: '/card/price',
    name: 'CardPrice',
    component: () => import('@/views/card/cardManagement/price.vue'),
    meta: {
      title: '卡片价格',
      requireAuth: true
    }
  },
  {
    path: '/card/detail/:id',
    name: 'CardDetail',
    component: () => import('@/views/card/cardManagement/detail.vue'),
    meta: {
      title: '卡片详情',
      requireAuth: true
    }
  }
]